home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Today - The Disc! 5
/
CD-ROM Today - The Disc (Issue 5)(November 1994).ISO
/
mac
/
DHA demo
/
Don Norman Folder
/
The Library
/
The Library.rsrc
/
CSTR_3474_saveStateCSTR
< prev
next >
Wrap
Text File
|
1994-09-21
|
2KB
|
76 lines
answer tStr("Libmsg",22) with tStr("LibMsg",23) or tStr("LibMsg",11)
if it = tStr("LibMsg",23) then
ask file tStr("LibMsg",24)
if it ¡ "" then
put it into fN
DeleteFile fN
put the short id of this cd into orig
LS
LM true
set cantAbort of this stack to true
put the number of cds in bg "details" into numCds
go first cd of bg "details"
put the number of fld "local notes" into lnN
put the number of fld "styled" into sN
--the name of the stack, just for the record
get the short name of this stack
AppendDataToFile it, the number of chars in it, fN
--here are the paper clips
repeat with x = 70 to 73
get the loc of bg btn id x
put the short name of bg btn id x & "," & it & return after temp
end repeat
delete the last char of temp
AppendDataToFile temp, the number of chars in temp, fN
--here are the blacked cards.
get fld "blacked cards"
AppendDataToFile it, the number of chars in it, fN
--here are the marked cards
get fld "marked cards"
AppendDataToFile it, the number of chars in it, fN
--here is the bookmark
get the script of cd btn "bookmark" of cd 2
AppendDataToFile it, the number of chars in it, fN
repeat with x = 1 to numCds
if mouseClick() then
--DeleteFile fN
exit repeat
end if
cbusy
doGauge
get the number of this cd
AppendDataToFile it, the number of chars in it, fN
--New 9/11/92
get line 1 of fld "characters"
if it = "" then
get textsize of char 1 of fld "styled"
if it = 12 then get "s"
else if it = 18 then get "l"
else get "s"
end if
get it &"■■ª" -- just to be sure it is unique
AppendDataToFile it, the number of chars in it, fN
--this is the s or l indicating small or large print
--end New 9/11/92
get fld lnN
AppendDataToFile it, the number of chars in it, fN
AppendStyleDataToFile "b", lnN, fN
AppendStyleDataToFile "b", sN, fN
get fld "verticals"
AppendDataToFile it, the number of chars in it, fN
go next cd in this bg
end repeat
LM false
set cantabort of this stack to false
go cd id orig
send opencard to this cd
US
vis "window gauge",(checked(tStr("LibMsg",43)) and CDs())
end if
end if